﻿using SqlSugar;

namespace coreapi.Models.TempModels
{
    public class RoomInfo
    {
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>  
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]//数据库是自增才配自增 
        public int RoomID { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string RoomName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Capacity { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Description { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int InformationID { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? Price { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool CanBook { get; set; }
    }
}
